-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Rails 6 #150
Upgrade to Rails 6 #150
Conversation
I wonder if it would be convenient to fold the upgrade to bootstrap 4.2.1 (#137) into this PR? I think the bootstrap upgrade would benefit from some more thorough testing that would naturally be part of doing the Rails 6 migration. |
Sounds great to me. I’ll do it.
On Tue, Jan 29, 2019 at 5:58 PM Matt Brictson ***@***.***> wrote:
I wonder if it would be convenient to fold the upgrade to bootstrap 4.2.1 (
#137 <#137>) in this PR? I
think the bootstrap upgrade would benefit from some more thorough testing
that would naturally be part of doing the Rails 6 migration.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#150 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJh601-w7gvFqkSGvk_8SeNxS8fFTjgks5vIPxggaJpZM4aTw20>
.
--
Christian Nelson | Carbon Five | [email protected]
|
5b28509
to
b61e537
Compare
b61e537
to
5533344
Compare
620ea63
to
35d49e8
Compare
d6e2a54
to
c0f5619
Compare
I think the setup/update scripts needs some updates because the
|
Did some research about using RSpec with the new built-in parallel testing in Rails 6. It's not good news, sadly: rspec/rspec-rails#2104 The issue is that rspec-core is not threadsafe and making it threadsafe is non trivial and not a priority. Rails 6 supports both multi-process and multi-thread parallelization. So maybe there's a way to still support multi-process parallelization with RSpec and Rails 6? Will look into that a little more. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but maybe someone else should also take a 👀 at it too
I'm looking at the railsdiff – http://railsdiff.org/5.2.3/6.0.0.rc1 – and it seems that Rails 6 makes these changes to
Should we mirror those changes here? |
@mattbrictson I didn't know about railsdiff. I will look for other differences between the versions too. |
I think the other big difference is that Rails 6 drops JS from the asset pipeline in favor of webpacker. I am not sure we want to go that far. However if we continue with |
Upgrade to Rails 6, including any relevant configuration changes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve as well 😄
The first beta is out: https://edgeguides.rubyonrails.org/6_0_release_notes.html
We typically upgrade raygun-rails sometime during the beta period, once we have a sense of the stability of Rails.
Upgrading includes updating the rails gems and massaging any configuration to best match what would be in a new Rails 6 app. Thanks to @mattbrictson, I learned about railsdiff.org, which made finding other differences much easier. Maybe of which have been resolved in this PR.
Tasks
Notes
rails g scaffold
didn't raise an exception, so something has been fixed.